#ifndef CARDINTERACTION_H
#define CARDINTERACTION_H

#include "baseapplication.h"

#include <vector>

#include "settings.h"

class BirdEagleGame;

class TestKinect;

class CardInteraction : public BaseApplication
{
	Q_OBJECT

public:
	CardInteraction(QWidget *parent = 0);
	~CardInteraction();

public slots:
	virtual void Init();
	virtual void Update();

protected:
	void initializeGL();
	void paintGL();
	void resizeGL(int width, int height);

	void mouseDoubleClickEvent(QMouseEvent *);
	void keyPressEvent(QKeyEvent *);

private:
	int mWidth;
	int mHeight;
	BirdEagleGame* mCatMouseGame;
};

#endif // CARDINTERACTION_H
